package org.ezplatform.office.forum.dao;

import java.util.List;

import org.ezplatform.core.dao.jpa.JpaBaseDao;
import org.ezplatform.office.forum.entity.ForumModeratorScope;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

/**
 *  论坛主持人dao
 * 2019年11月2日17:40:59
 * @author Administrator
 *
 */
@Repository
public interface ForumModeratorScorpDao extends JpaBaseDao<ForumModeratorScope, String> {
	
	 @Query(" from ForumModeratorScope where scopeValue = ?1 and fieldDataValue=?2  ")
	 public  List<ForumModeratorScope> findForumModeratorScorp(String userId,String boardId );
}
